package com.heima.apis.admin;

import com.heima.model.admin.pojos.AdSensitive;
import com.heima.model.admin.dtos.SensitiveDto;
import com.heima.model.common.dtos.ResponseResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

@Api(tags = "敏感词控制类")
public interface AdSensitiveControllerApi {
    @ApiOperation("查询敏感词信息")
    ResponseResult list(SensitiveDto dto);
    @ApiOperation("添加敏感词")
    ResponseResult save(AdSensitive adSensitive);
    @ApiOperation("修改敏感词")
    ResponseResult update(AdSensitive adSensitive);
    @ApiOperation("删除敏感词")
    ResponseResult delete(Integer id);
}
